package com.jiangxjsy.model.admin.bo;

import com.jiangxjsy.model.admin.entity.AdminRole;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * wukong-crm-master
 * 蒋胜宇
 * 2025/6/12 16:12
 */

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminRoleBO extends AdminRole implements Serializable {
    /**
     * 菜单列表
     */
    private Map<String, List<Integer>> rules;

    /**
     * 菜单id列表
     */
    private List<Integer> menuIds = new ArrayList<>();
}
